package com.tonoinfo.convert;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import org.mapstruct.Mapping;

/**
 * 公共配置注解，比如创建时间、修改时间等
 * @author shuang.cheng
 * @date 2022/5/7
 */
@Retention(RetentionPolicy.CLASS)
@Mapping(source = "createTime", target = "createTime", dateFormat = "yyyy-MM-dd HH:mm:ss")
public @interface CommonConvert {

}
